package com.ruoyi.business.config;

import com.ruoyi.business.dto.PSIceAccount;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

//@Configuration
public class PSIceAccountBeanConfig {

//    @Value("${ice.clientName}")
    private String clientName;

//    @Value("${ice.password}")
    private String password;

//    @Bean
    public PSIceAccount getPsIceAccount() {
        PSIceAccount psIceAccount = new PSIceAccount();
        psIceAccount.ClientName = clientName;
        psIceAccount.Password = password;
        return psIceAccount;
    }

}
